//
//  KnowMoreStore.m
//  NewPro
//
//  Created by 何荧红 on 2019/4/28.
//  Copyright © 2019 何荧红. All rights reserved.
//

#import "KnowMoreStore.h"

@implementation KnowMoreStore


#pragma mark 了解更多
- (void)GetProblemWithPrams:(NSDictionary *)prams Success:(void(^)(NSDictionary *res))success Failure:(void(^)(NSError *error))failure{
    NSString *url = [NSString stringWithFormat:@"%@/api/problems/v2",IP];
    [HttpTool getUrlWithString:url parameters:prams success:^(id responseObject) {
        NSError *error = [HttpTool inspectError:responseObject];
        if (error == nil) {
            success(responseObject);
        }else{
            failure(error);
        }
    } failure:^(NSError *error) {
        failure(error);
    }];
}
//API_FUNC_NAME1(api_problems){
//    AF_GET_API_FUNC(@"api_problems")api/problems/v2
//}


@end
